                


<!-- /Block_content -->


</div>
<!-- /Block_container -->
<!-- Block_footer -->
<footer>
    <p align="right" style="padding-right: 30px;"><span class="badge"><span class="small-white-text">© 2012 <a href="#" class="small-white-text" target="_blank">Cms Agnar</a> – V 1.8</span></span>
    <a href="/admin"><img src="/img/admin-logo.png" style="width: 40px"/></a></p>
</footer>

<?php
$message = MessBox::getMessages();
MessBox::clearMessages();

if (is_array($message)) {
    $strError = '';
    foreach ($message as $er) {
        $strError .= $this->trans->_($er) . '<br />';
    }
    if ($strError) {
?>
        <script type="text/javascript">

            $(document).ready(function(){

                $('#dialog').html("<?php echo $strError ?>");
                $('#dialog').dialog({
                    title: 'Information',
                    modal: true,
                    width: 300,
                    buttons: {
                        "OK": function() {
                            $('#dialog').dialog('close');
                        }
                    }
                });
            });
        </script>

<?php
    }
}
$jsMessageVars = array('passwords_do_not_match', 'length_of_password', 'do_not_remove_default_tariff',
    'save_the_new_tariff', 'email_no_zero', 'not_be_more_emails_to_quantity', 'two_language',
    'select_email_address', 'emails_same', 'show_all_tariff', 'show_only_active_tariff',
    'limit_for_size', 'text_unlink_empty', 'operation_was_successful');
?>
<div style="display: none;">
    <div id="dialog" title="Information"></div>
    <div id="dialog1" title="Information"></div>
    <div id="dialog2" title="Information"></div>
    <div id="clearTitle"><?php echo $this->trans->_('Clear') ?></div>
</div>
<script type="text/javascript">
    $(document).ready(function() {
        $('<a class="filter-clear" href="javascript://">'+ ($('#clearTitle').html()) +'</a>').insertAfter($('.filter-container #submit'));
<?php if (!isset($this->noAuth)) { ?>
    if(document.body.clientWidth < 1290){
        $('#pageContent').css('width', '1000px');
        $('#pageContent').css('padding-left', '10px');
        $('#pageContent').css('overflow', 'auto');
    }
<?php } ?>
});

messageRemoveRow  = '<?php echo $this->trans->_('remove_row') ?>';
redirectUrl = '<?php echo $_SERVER['REDIRECT_URL'] ?>';
<?php foreach ($jsMessageVars as $val) { ?>
<?php echo $val ?> = '<?php echo $this->trans->_($val) ?>';
<?php } ?>
</script>
<!-- /Block_footer -->

</body>
</html>